home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-25 | 457 b | 19 lines | [TEXT/ttxt] |
- // Symantec C++ problem:
-
- // The following program causes a *** bus-error ***
- // on a Quadra 700 (68040 CPU, all extensions off)
- // if the "generate 68881 instructions" option is ON.
-
- // (This problems does not occur if the program is compiled
- // with the C translator and ANSI instead of ANSI++ lib)
-
- #include <math.h>
-
- int main()
- {
- double foo= pow( 1.0, 1.0 ); // *bus error*
- return 0;
- }
-
- // (It seems to be a bug in the Symantec C++ 7.0.3 translator!)
-